PISOL\REVIEW\FRONT\ReviewForm A

Total Complexity 55
Dependencies 1
Dependents 3
Total lines 238
Lines of code 181
Logical lines of code 110
Comment lines 3
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
validate()
A
51 11 23
enqueue_scripts()
A
48 10 30
save_review()
A
46 9 37
custom_endpoint_template()
S
64 3 10
add_endpoint()
S
68 2 7
isReviewRequired()
S
77 2 3
get_products()
S
67 2 8
get_instance()
S
71 2 6
is_valid_order()
S
66 2 9
get_unsubscribe_link()
S
69 1 6
__construct()
S
68 1 7
is_my_custom_endpoint()
S
76 1 4
get_form_description()
S
79 1 3
get_form_submit_text()
S
79 1 3
get_form_review_placeholder()
S
79 1 3
get_form_success_message()
S
79 1 3
get_rating_error_message()
S
79 1 3
get_review_error_message()
S
79 1 3
get_review_link()
S
67 1 7
get_default_rating()
S
79 1 3
get_form_title()
S
79 1 3